package com.koron.bean.system.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName MenuBean
 * @description
 * @Author zhouj
 * @Date 2021/7/22 18:54
 */
@Data
public class MenuBean {

    @ApiModelProperty(value = "菜单id")
    private String id;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "多语言json")
    private String lang;

    @ApiModelProperty(value = "繁体名称")
    private String zhHk;

    @ApiModelProperty(value = "英文名称")
    private String en;

    @ApiModelProperty(value = "菜单编码 前端使用")
    private String code;

    @ApiModelProperty(value = "菜单编码url 前端使用")
    private String menuUrl;

    @ApiModelProperty(value = "父级菜单id")
    private String parent;

    @ApiModelProperty(value = "是否菜单 1：是 0：否")
    private Integer isMenu;

    @ApiModelProperty(value = "eform pc端地址")
    private String pcUrl;

    @ApiModelProperty(value = "eform 移动端地址")
    private String appUrl;

    @ApiModelProperty(value = "是否开放 1：是 0：否")
    private Integer isOpen;

    @ApiModelProperty(value = "状态 1：启用 0：停用")
    private Integer status;

    @ApiModelProperty(value = "排序 整型")
    private Integer sort;

    @ApiModelProperty(value = "功能按钮列表")
    private List<MenuFuncBean> menuFuncList;

    //前端做回显
    @ApiModelProperty(value = "是否有权限")
    private Integer hasPermission;

}
